package com.fujica.invoicing.entity;

import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 商品清单(TInventory)实体类
 *
 * @author makejava
 * @since 2020-08-11 11:25:29
 */
@Table(name = "t_inventory")
public class TInventory implements Serializable {
    private static final long serialVersionUID = 255887196909420486L;
    /**
     * 仓库id
     */
    private Integer dId;
    /**
     * 商品id
     */
    private Integer gId;
    /**
     * 商品单价
     */
    private BigDecimal gPrice;
    /**
     * 库存
     */
    private Integer inventory;
    /**
     * 创建日期
     */
    private Date iCreate;
    /**
     * 修改日期
     */
    private Date iUpdate;


    public Integer getDId() {
        return dId;
    }

    public void setDId(Integer dId) {
        this.dId = dId;
    }

    public Integer getGId() {
        return gId;
    }

    public void setGId(Integer gId) {
        this.gId = gId;
    }

    public BigDecimal getGPrice() {
        return gPrice;
    }

    public void setGPrice(BigDecimal gPrice) {
        this.gPrice = gPrice;
    }

    public Integer getInventory() {
        return inventory;
    }

    public void setInventory(Integer inventory) {
        this.inventory = inventory;
    }

    public Date getICreate() {
        return iCreate;
    }

    public void setICreate(Date iCreate) {
        this.iCreate = iCreate;
    }

    public Date getIUpdate() {
        return iUpdate;
    }

    public void setIUpdate(Date iUpdate) {
        this.iUpdate = iUpdate;
    }

}